//
//  CombinedPunchModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2025/3/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class CombinedPunchTissueListModel;
@interface CombinedPunchModel : NSObject

///任务执行时间
@property (nonatomic ,strong) NSString * executeTime;

///任务执行时间
@property (nonatomic ,strong) NSString * executeTimePart;

///主键id
@property (nonatomic ,strong) NSString * ID;

///任务名称
@property (nonatomic ,strong) NSString * name;

///塘口id
@property (nonatomic ,strong) NSString * pondId;

///塘口名称
@property (nonatomic ,strong) NSString * pondName;

///编组id
@property (nonatomic ,strong) NSString * tissueId;

///编组名称
@property (nonatomic ,strong) NSString * tissueName;

///是否选中
@property (nonatomic ,assign) BOOL isSeled;

///是否显示具体
@property (nonatomic ,assign) BOOL isOpen;
///是否隐藏按钮
@property (nonatomic ,assign) BOOL isHidden;
@property (nonatomic ,assign) CGFloat viewH;

///编组名称
@property (nonatomic ,strong) NSArray<CombinedPunchTissueListModel *> * tissueList;
@property (nonatomic ,strong) NSString * tissueListStr;
@property (nonatomic ,assign) CGFloat tissueListStrH;
@property (nonatomic ,strong) NSString * pondNameStr;


@end
@interface CombinedPunchTissueListModel : NSObject

///编组名称
@property (nonatomic ,strong) NSString * tissueName;
@property (nonatomic ,strong) NSArray<NSString *> * pondNameList;
@property (nonatomic ,strong) NSString * pondTissue;
@property (nonatomic ,strong) NSString * pondName;

@end
///当天的数据
@interface CombinedPunchDayModel : NSObject

///任务执行时间
@property (nonatomic ,strong) NSString * executeTime;

///数据
@property (nonatomic ,strong) NSMutableArray <CombinedPunchModel *> * modelArray;

///是否选中
@property (nonatomic ,assign) BOOL isSeled;

///是否收缩
@property (nonatomic ,assign) BOOL isSS;

@property (nonatomic ,assign) CGFloat cellH;
///没有选中的数量
@property (nonatomic ,assign) int NoSeledCount;
///选中的数量
@property (nonatomic ,assign) int SeledCount;


@end

@interface CombinedPunchALLModel : NSObject

///数据
@property (nonatomic ,strong) NSMutableArray <CombinedPunchDayModel *> * dayArray;

- (void)AddModelArray:(NSArray < CombinedPunchModel *>*)array;

///当前天数选中,是否能成功
- (BOOL)AddSeledDayModel:(CombinedPunchDayModel *)dayModel;



///选中的数量
@property (nonatomic ,assign) int SeledCount;
///选中的数组
@property (nonatomic ,strong) NSMutableArray <CombinedPunchModel *> * SeledModelArray;
///新的塘口名称
@property (nonatomic ,strong) NSDictionary * seledDict;

///塘口名称
@property (nonatomic ,strong) NSMutableArray<NSString *> * pondNameList;
///编组名称
@property (nonatomic ,strong) NSString * OldTissueName;

@end
NS_ASSUME_NONNULL_END
